package cn.jiyun.feign;

import cn.jiyun.dto.CourseDTO;
import cn.jiyun.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 季乾帅
 * @create 2023/8/25 14:07
 */
@Component
@FeignClient(name = "Type")
public interface TypeFeign {


    @RequestMapping("type/findType")
    public Result findType();
}
